POV-Ray : Newsgroups : povray.advanced-users : variables in sdl : Re: variables in sdl Server Time
5 Jul 2024 14:11:26 EDT (-0400)
  Re: variables in sdl  
From: Warp
Date: 23 Jan 2008 03:19:46
Message: <4796f8a2@news.povray.org>
[GDS|Entropy] <gds### [at] hotmailcom> wrote:
>   #local Positions[J][Jx] = <0,var+J,0>; // so that it would be processed as 
> var0 etc..

> Normally one could accomplish this quite easily in any other language...and 
> I am guessing this is possible in sdl as well...

  I don't know of any language which would interpret "var+J" as anything
else than the sum of the values of 'var' and 'J'. Also, I don't know many
languages which support creating variable names from expressions and then
interpreting those variable names (maybe PHP is one of them).

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.